package com.example.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_goods")
public class Goods {
    @TableId //该属性为表中对应的主键
    private Integer goodsId;
    private String goodsName;
    private String goodsPrice;
}
